package com.iot.ic.service;

import java.util.List;
import java.util.Map;

import com.iot.ic.model.EquipmentInfo;

import com.iot.ic.model.RefereeInfo;
import com.iot.ic.model.TeamInfo;





/**
 * equipmentId on 2017/2/20.
 */
public interface EquipmentService {
	
	/**
	 * 根据场景获得设备列表
	 * @param scenesId
	 * @return
	 */
	List<EquipmentInfo> listEquipmentInfosByScenes(Integer scenesId);
	
	/**
	 * 删除设备
	 * @param equipmentId
	 * @return
	 */
	int deleteEquipmentInfo(Integer equipmentId);
	
	/**
	 * 增加设备
	 * @param equipmentId
	 * @return
	 */
	int addEquipmentInfo(EquipmentInfo equipmentInfo);
	/**
	 * 根据Id获得设备
	 * @param equipmentId
	 * @return
	 */
	EquipmentInfo getEquipmentInfoById(Integer equipmentId);
	/**
	 * 更新设备
	 * @param equipmentId
	 * @return
	 */
	int updateEquipmentInfo(EquipmentInfo equipmentInfo);

}
